source /home/work_nfs8/xlgeng/new_workspace/.bashrc
index_num=0
decode_checkpoint=/home/work_nfs8/xlgeng/new_workspace/checkpoint/1_comformer_task/step_26000.pt
decode_checkpoint=/home/work_nfs8/xlgeng/new_workspace/wenet_gxl_aishell/examples/wenetspeech/s0/exp/u2pp_conformer_41node/step_1000.pt
decode_checkpoint=/home/work_nfs8/xlgeng/new_workspace/wenet_gxl_aishell/examples/wenetspeech/s0/exp/u2pp_conformer_15node/step_1000.pt
decode_checkpoint=/home/work_nfs8/xlgeng/new_workspace/wenet_gxl_aishell/examples/wenetspeech/s0/exp/u2pp_conformer_41node_2/step_27500.pt
decode_checkpoint=/home/work_nfs8/xlgeng/new_workspace/wenet_gxl_aishell/examples/wenetspeech/s0/exp/u2pp_conformer_41node_3_from26_only_wenetspeech/step_2500.pt
decode_checkpoint=/home/work_nfs8/xlgeng/new_workspace/wenet_gxl_aishell/examples/wenetspeech/s0/exp/u2pp_conformer_41node_3_from26_only_wenetspeech/step_500.pt
decode_checkpoint=/home/work_nfs8/xlgeng/new_workspace/checkpoint/1_comformer_task/step_26000.pt
decode_checkpoint=/home/work_nfs8/xlgeng/new_workspace/wenet_gxl_aishell/examples/wenetspeech/s0/exp/u2pp_conformer_41node_3_from26_only_meeting/epoch_3.pt
# decoding_chunk_size=-1
# ctc_weight=0.5
# reverse_weight=0.0
# blank_penalty=0.0
# length_penalty=0.0
# gpu_id=0
# decode_checkpoint=/home/work_nfs8/xlgeng/new_workspace/checkpoint/1_comformer_task/20220506_u2pp_conformer_exp_wenetspeech/final.pt
# my_named_nohup test_${gpu_id} bash inference.sh --decoding_chunk_size $decoding_chunk_size --ctc_weight $ctc_weight --reverse_weight $reverse_weight --blank_penalty $blank_penalty --length_penalty $length_penalty --gpu_id $gpu_id --decode_checkpoint $decode_checkpoint


# decoding_chunk_size=-1
# ctc_weight=0.5
# reverse_weight=0.0
# blank_penalty=0.0
# length_penalty=0.0
# gpu_id=1
# decode_checkpoint=/home/work_nfs8/xlgeng/new_workspace/checkpoint/1_comformer_task/step_26000.pt
# my_named_nohup test_${gpu_id} bash inference.sh  --decoding_chunk_size $decoding_chunk_size --ctc_weight $ctc_weight --reverse_weight $reverse_weight --blank_penalty $blank_penalty --length_penalty $length_penalty --gpu_id $gpu_id --decode_checkpoint $decode_checkpoint


# decoding_chunk_size=-1
# ctc_weight=0.3
# reverse_weight=0.3
# blank_penalty=0.0
# length_penalty=0.1
# gpu_id=2
# decode_checkpoint=/home/work_nfs8/xlgeng/new_workspace/checkpoint/1_comformer_task/20220506_u2pp_conformer_exp_wenetspeech/final.pt
# my_named_nohup test_${gpu_id} bash inference.sh  --decoding_chunk_size $decoding_chunk_size --ctc_weight $ctc_weight --reverse_weight $reverse_weight --blank_penalty $blank_penalty --length_penalty $length_penalty --gpu_id $gpu_id --decode_checkpoint $decode_checkpoint
decoding_chunk_size=-1
ctc_weight=0.3
reverse_weight=0.3
blank_penalty=0.0
length_penalty=0.1
gpu_id=0
nohup_name='test_gxl_epoch_3'
test_sets="aishell1 aishell2"
test_sets=$(echo "$test_sets" | sed 's/ /---/g')
my_named_nohup ${nohup_name}_${gpu_id} bash inference.sh  --decoding_chunk_size $decoding_chunk_size --ctc_weight $ctc_weight --reverse_weight $reverse_weight --blank_penalty $blank_penalty --length_penalty $length_penalty --gpu_id $gpu_id --decode_checkpoint $decode_checkpoint --test_sets "$test_sets"

decoding_chunk_size=-1
ctc_weight=0.3
reverse_weight=0.3
blank_penalty=0.0
length_penalty=0.1
gpu_id=1
test_sets="test_net"
test_sets=$(echo "$test_sets" | sed 's/ /---/g')
my_named_nohup ${nohup_name}_${gpu_id} bash inference.sh  --decoding_chunk_size $decoding_chunk_size --ctc_weight $ctc_weight --reverse_weight $reverse_weight --blank_penalty $blank_penalty --length_penalty $length_penalty --gpu_id $gpu_id --decode_checkpoint $decode_checkpoint --test_sets "$test_sets"

decoding_chunk_size=-1
ctc_weight=0.3
reverse_weight=0.3
blank_penalty=0.0
length_penalty=0.1
gpu_id=2
test_sets="test_meeting speechio_0"
test_sets=$(echo "$test_sets" | sed 's/ /---/g')
my_named_nohup ${nohup_name}_${gpu_id} bash inference.sh  --decoding_chunk_size $decoding_chunk_size --ctc_weight $ctc_weight --reverse_weight $reverse_weight --blank_penalty $blank_penalty --length_penalty $length_penalty --gpu_id $gpu_id --decode_checkpoint $decode_checkpoint --test_sets "$test_sets"


decoding_chunk_size=-1
ctc_weight=0.3
reverse_weight=0.3
blank_penalty=0.0
length_penalty=0.1
gpu_id=3
test_sets="speechio_1 speechio_2 speechio_3 speechio_4"
test_sets=$(echo "$test_sets" | sed 's/ /---/g')
my_named_nohup ${nohup_name}_${gpu_id} bash inference.sh  --decoding_chunk_size $decoding_chunk_size --ctc_weight $ctc_weight --reverse_weight $reverse_weight --blank_penalty $blank_penalty --length_penalty $length_penalty --gpu_id $gpu_id --decode_checkpoint $decode_checkpoint --test_sets "$test_sets"

